
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/global.css'
import '@/assets/fonts/iconfont.css'

// element ui 组件全部加载
// import ElementUI from 'element-ui';
// Vue.use(ElementUI);
// import 'element-ui/lib/theme-chalk/index.css';

import './plugins/element.js'

// 自定义 面包屑导航
import Breadcrumb from '@/views/Breadcrumb'
Vue.component('Breadcrumb', Breadcrumb)


// 时间格式化过滤器
import moment from 'moment'
Vue.filter('timeFormat', (obj)=>{
  return moment(obj).format('YYYY-MM-DD hh:mm:ss')
})

//树形组件
import zktable from 'vue-table-with-tree-grid'
Vue.component('zktable', zktable)

//导入进度条插件
// import NProgress from 'nprogress'
Vue.use(NProgress)
//导入进度条样式
// import 'nprogress/nprogress.css'


Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
